////////////////////////////////////////////////////////////////////////////////
// Z-Day Project File                                                         //
// -------------------------------------------------------------------------- //
// Filename:   /entities/weapons/weapon_assaultrifle/shared.lua               //
// Type:       Shared                                                         //
// Contents:   "Assault Rifle" SWEP.                                          //
////////////////////////////////////////////////////////////////////////////////

if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end

SWEP.Base						= "weapon_zd_base"

SWEP.ViewModel					= "models/weapons/v_rif_ak47.mdl"
SWEP.WorldModel					= "models/weapons/w_rif_ak47.mdl"

SWEP.ViewModelFOV				= 75
SWEP.ViewModelFlip				= true
SWEP.IronSightsPos 				= Vector( 6.1, -7, 2.5 )
SWEP.IronSightsAng 				= Vector( 2.8, 0, 0 )
SWEP.SafetyPos					= Vector(2.0018, -1.0415, 1.0776)
SWEP.SafetyAng					= Vector(-27.1498, -47.3192, 38.0862)

SWEP.Weight						= 5
SWEP.HoldType					= "ar2"
SWEP.GunSmoke					= true
SWEP.ShowIndividualRounds		= false

SWEP.Primary.Sound				= Sound( "Weapon_AK47.Single" )
SWEP.Primary.Recoil				= 1.5
SWEP.Primary.Damage				= 22
SWEP.Primary.NumShots			= 1
SWEP.Primary.Cone				= 0.02
SWEP.Primary.NoCone				= false
SWEP.Primary.Delay				= 0.08
SWEP.Primary.ClipSize			= 25
SWEP.Primary.DefaultClip		= 25
SWEP.Primary.Automatic			= true
SWEP.Primary.Ammo				= "ar2"

SWEP.Secondary.ClipSize			= -1
SWEP.Secondary.DefaultClip		= -1
SWEP.Secondary.Automatic		= false
SWEP.Secondary.Ammo				= "none"

SWEP.KillString1				= "mowed down"
SWEP.KillString2				= "with his assault rifle"
